#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
int main(int argc, char **argv)
{

    struct tm *tmptr;
    time_t tm;
    time(&tm);
    // tmptr = gmtime(&tm);
     tmptr = localtime(&tm);

    printf(" %04d-%02d-%02d \n",tmptr->tm_year,tmptr->tm_mon +1,tmptr->tm_mday);
    

    return 0;
}